<div id="page-layout"><div id="page-content">
        <div id="page-content-wrapper" >
            <div class="hastable">
                <div class="inner-page-title">
                    <h2>管理员列表</h2>
                </div>
                <?php echo Message::get(); ?>
                <table cellspacing="0">
                    <thead>
                        <tr>
                            <td class="center"><input type="checkbox" class="checkbox" value=""/></td>
                            <td>ID</td>
                            <td>登录账号</td>
                            <td>真是姓名</td>
                            <td>电话号码</td>
                            <td>操作</td>
                        </tr>
                    </thead>
                    <tbody>

                        <?php if (is_array($result)): ?>
                            <?php foreach ($result as $key => $value): ?>
                                <tr>  	  	
                                    <td>
                                        <input type="checkbox" class="checkbox" value=""/>
                                    </td>
                                    <td style="text-align: center">
                                        <?php echo $value->id_user ?>
                                    </td>
                                    <td>
                                        <?php echo $value->username ?>
                                    </td>
                                    <td style="text-align: center">
                                        <?php echo $value->realname ?>
                                    </td>
                                    <td style="text-align: center">
                                        <?php echo $value->telephone; ?>
                                    </td>
                                    <td style="text-align: center">
                                        <a href="<?php echo URL::base() . 'admin/user/edit/' . $value->id_user ?>">修改</a> | 

                                        <a href="<?php echo URL::base() . 'admin/user/delete/' . $value->id_user ?>">删除</a> 

                                    </td>
                                </tr>
                            <?php endforeach ?>
                        <?php endif ?>
                    </tbody>
                    <tfoot>
                        <tr>
                            <td colspan="8">
                                <?php echo $page_view; ?>
                            </td>

                        </tr>
                    </tfoot>
                </table>

            </div>
            <div class="clear"></div>

            <?php echo View::factory('admin/system/system_left')->render(); ?>

            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>	